package com.oms.domain;

import java.sql.Timestamp;
import java.util.HashSet;
import java.util.Set;

/**
 * Organizationvote entity. @author MyEclipse Persistence Tools
 */

public class Organizationvote implements java.io.Serializable {

	

	/**
	 * 
	 */
	private static final long serialVersionUID = -8308695786562502050L;
	
	// Fields
	private Integer organizationVoteId;
	private Massorganization massorganization;
	private CommuneMemberinfo communeMemberinfo;
	private String organizationVoteName;
	private Short voteType;
	private Timestamp voteBeginTime;
	private Timestamp voteDealline;
	private Short voteState;
	private Timestamp lastUpdateTime;
	private Boolean deleteTag;
	private String expandBar2;
	private String expandBar1;
	private Set polloptionses = new HashSet(0);

	// Constructors

	/** default constructor */
	public Organizationvote() {
	}

	/** minimal constructor */
	public Organizationvote(Massorganization massorganization,
			CommuneMemberinfo communeMemberinfo, String organizationVoteName,
			Short voteType, Timestamp voteBeginTime, Timestamp voteDealline,
			Short voteState, Boolean deleteTag) {
		this.massorganization = massorganization;
		this.communeMemberinfo = communeMemberinfo;
		this.organizationVoteName = organizationVoteName;
		this.voteType = voteType;
		this.voteBeginTime = voteBeginTime;
		this.voteDealline = voteDealline;
		this.voteState = voteState;
		this.deleteTag = deleteTag;
	}

	/** full constructor */
	public Organizationvote(Massorganization massorganization,
			CommuneMemberinfo communeMemberinfo, String organizationVoteName,
			Short voteType, Timestamp voteBeginTime, Timestamp voteDealline,
			Short voteState, Timestamp lastUpdateTime, Boolean deleteTag,
			String expandBar2, String expandBar1, Set polloptionses) {
		this.massorganization = massorganization;
		this.communeMemberinfo = communeMemberinfo;
		this.organizationVoteName = organizationVoteName;
		this.voteType = voteType;
		this.voteBeginTime = voteBeginTime;
		this.voteDealline = voteDealline;
		this.voteState = voteState;
		this.lastUpdateTime = lastUpdateTime;
		this.deleteTag = deleteTag;
		this.expandBar2 = expandBar2;
		this.expandBar1 = expandBar1;
		this.polloptionses = polloptionses;
	}

	// Property accessors

	public Integer getOrganizationVoteId() {
		return this.organizationVoteId;
	}

	public void setOrganizationVoteId(Integer organizationVoteId) {
		this.organizationVoteId = organizationVoteId;
	}

	public Massorganization getMassorganization() {
		return this.massorganization;
	}

	public void setMassorganization(Massorganization massorganization) {
		this.massorganization = massorganization;
	}

	public CommuneMemberinfo getCommuneMemberinfo() {
		return this.communeMemberinfo;
	}

	public void setCommuneMemberinfo(CommuneMemberinfo communeMemberinfo) {
		this.communeMemberinfo = communeMemberinfo;
	}

	public String getOrganizationVoteName() {
		return this.organizationVoteName;
	}

	public void setOrganizationVoteName(String organizationVoteName) {
		this.organizationVoteName = organizationVoteName;
	}

	public Short getVoteType() {
		return this.voteType;
	}

	public void setVoteType(Short voteType) {
		this.voteType = voteType;
	}

	public Timestamp getVoteBeginTime() {
		return this.voteBeginTime;
	}

	public void setVoteBeginTime(Timestamp voteBeginTime) {
		this.voteBeginTime = voteBeginTime;
	}

	public Timestamp getVoteDealline() {
		return this.voteDealline;
	}

	public void setVoteDealline(Timestamp voteDealline) {
		this.voteDealline = voteDealline;
	}

	public Short getVoteState() {
		return this.voteState;
	}

	public void setVoteState(Short voteState) {
		this.voteState = voteState;
	}

	public Timestamp getLastUpdateTime() {
		return this.lastUpdateTime;
	}

	public void setLastUpdateTime(Timestamp lastUpdateTime) {
		this.lastUpdateTime = lastUpdateTime;
	}

	public Boolean getDeleteTag() {
		return this.deleteTag;
	}

	public void setDeleteTag(Boolean deleteTag) {
		this.deleteTag = deleteTag;
	}

	public String getExpandBar2() {
		return this.expandBar2;
	}

	public void setExpandBar2(String expandBar2) {
		this.expandBar2 = expandBar2;
	}

	public String getExpandBar1() {
		return this.expandBar1;
	}

	public void setExpandBar1(String expandBar1) {
		this.expandBar1 = expandBar1;
	}

	public Set getPolloptionses() {
		return this.polloptionses;
	}

	public void setPolloptionses(Set polloptionses) {
		this.polloptionses = polloptionses;
	}

}